import request from '@/utils/request'
export const Download = '/icps/system/sign/settlement/trans/raw/detail/exportList'
/**1.待结算-获取合同列表*/
export function get_contract_list() {
  return request({
    url: '/icps/system/sign/settlement/trans/raw/detail/get_contract_list',
    method: 'get',
  })
}
/** 2.分页获取待结算运输列表*/
export const queryPage1 = '/icps/system/sign/settlement/trans/raw/detail/get_no_settlement_data'
/**3.生成结算单*/
export function generate_statement(data) {
  return request({
    url: '/icps/system/sign/settlement/trans/raw/detail/generate_statement',
    method: 'post',
    data
  })
}

/**4.分页查询已结算信息*/
export const queryPage2 = '/icps/system/sign/settlement/trans/raw/detail/get_settled_data'
/**5.修改或保存结算单*/
export function save_or_update_detail(data) {
  return request({
    url: '/icps/system/sign/settlement/trans/raw/detail/save_or_update_detail',
    method: 'post',
    data
  })
}
/**6.已结算-获取查询条件*/
export function get_search_conditions() {
  return request({
    url: '/icps/system/sign/settlement/trans/raw/detail/get_search_conditions',
    method: 'get',
  })
}
/**7.结算单-获取供应商列表*/
export function get_supplier_list(data) {
  return request({
    url: '/icps/system/sign/settlement/statement/get_supplier_list',
    method: 'post',
    data
  })
}

/**8.分页查询已结算信息*/
export const queryPage3 = '/icps/system/sign/settlement/statement/get_statement_page'
/**9.分页查询已结算信息*/
export function get_statement_detail(data) {
  return request({
    url: '/icps/system/sign/settlement/trans/raw/detail/get_statement_detail',
    method: 'post',
    data
  })
}
/**10.修改审核状态或客户确认状态*/
export function update_status(data) {
  return request({
    url: '/icps/system/sign/settlement/statement/update_status',
    method: 'post',
    data
  })
}
/**11.发送给客户*/
export function send_to_customer(data) {
  return request({
    url: '/icps/system/sign/settlement/statement/send_to_customer',
    method: 'post',
    data
  })
}














